import time

from django.utils.deprecation import MiddlewareMixin
import logging
from django.http import JsonResponse

from src.utils.makeJwt import jwt_decode
from src.utils.Tools import query_to_dict
from src.utils.ReturnStatus import ResponseStatus
from src.apps.test_api.models import User

errlog = logging.getLogger("err")

class CheckToken(MiddlewareMixin):

    def process_request(self, request):
        if request.path.split("/")[2] == "login":
            pass
